package cn.markjoy.springbootrabbit.service.permission.impl;

import cn.markjoy.springbootrabbit.entity.mapper.permission.UserMapper;
import cn.markjoy.springbootrabbit.entity.permission.User;
import cn.markjoy.springbootrabbit.service.permission.UserInfoService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhaojiandong
 * @date 2018/8/31
 * @Description
 */
@Service
@Slf4j
public class UserInfoServiceImpl implements UserInfoService
{
    @Autowired
    private UserMapper userMapper;

    @Override
    public List<User> listUserInfo(User user)
    {
        user = new User();
        return userMapper.selectListUserInfo(user);
    }
}
